]> dgit.raspbian.org Git - gnome-shell.git/commit
st-theme-node-drawing: Move most of the cached paint state to another struct
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 4 Apr 2013 23:47:28 +0000 (19:47 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 3 May 2013 14:50:30 +0000 (10:50 -0400)
commit72bc46d339306f3ea0ce469a5dca23993f1e8007
tree8dd8195addc45f274d2e44dd021574097d43549f
parent40b895d16b85e7fc3dc140370f14da0bc15048e1
st-theme-node-drawing: Move most of the cached paint state to another struct

Since we now share theme nodes between, we shouldn't cache the paint state
across all nodes. As a first step towards putting this in the actor, split
out the state into another structure. Keep it in the theme node for now
so that we don't make too many changes in one commit.

It's possible that some of these pieces of drawing state could be shared
between theme nodes. For the sake of simplicity, assume that none of them
are shared or should be shared. A future commit could identify those that
could be shared and move them back into the theme node.

https://bugzilla.gnome.org/show_bug.cgi?id=697274
src/st/st-theme-node-drawing.c
src/st/st-theme-node-private.h
src/st/st-theme-node.c